package com.maychat.pojo.extended;

import com.maychat.pojo.ChatSessionUser;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;


@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChatSessionComb extends ChatSessionUser implements Serializable {
    @Serial
    private static final long serialVersionUID = -6035420193891144300L;

    protected String lastMessage; // last_message
    protected Long lastReceiveTime; // last_receive_time
    protected Integer memberCount;
}
